package com.easygem.common.vo.system;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 文晓平
 * @Date 2024/12/9 11:06
 * @Version 1.0
 **/
@Data
public class UserEditVO {
    private Long userId;

    @NotBlank(message = "用户名不能为空")
    private String userName;

    @NotBlank(message = "昵称不能为空")
    private String nickName;

    @Email(message = "请输入正确的邮箱格式")
    private String email;

    @NotBlank(message = "电话号码不能为空")
    private String phone;


    @NotNull(message = "部门不能为空")
    private Long deptId;


    //总部公司账户
    @NotBlank(message = "账号不能为空")
    private String accountName;
    private String telNumber;

}
